package net.xdclass.service;

import net.xdclass.request.RefreshTokenRequest;
import net.xdclass.request.UserLoginRequest;
import net.xdclass.request.UserRegisterRequest;
import net.xdclass.util.JsonData;
import net.xdclass.vo.UserVo;

/**
 * @Classname UserService
 * @Description TODO
 * @Date 2022/4/13 16:28
 * @Created by sunhao
 */
public interface UserService {

  /**
   * 用户注册
   * @param userRegisterRequest
   * @return
   */
  JsonData userRegister(UserRegisterRequest userRegisterRequest);

  JsonData userLogin(UserLoginRequest userLoginRequest);

  JsonData refreshToken(RefreshTokenRequest refreshTokenRequest);

  UserVo findUserDetail();
}
